projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
39a0b6c
)
Fix scoping error in Tramp
author
Michael Albinus
<michael.albinus@gmx.de>
Sun, 9 Apr 2023 14:18:41 +0000
(16:18 +0200)
committer
Michael Albinus
<michael.albinus@gmx.de>
Sun, 9 Apr 2023 14:18:41 +0000
(16:18 +0200)
* lisp/net/tramp-sshfs.el (tramp-sshfs-handle-insert-file-contents):
Move result out of unwindform.
lisp/net/tramp-sshfs.el
patch
|
blob
|
history
diff --git
a/lisp/net/tramp-sshfs.el
b/lisp/net/tramp-sshfs.el
index 6b788c00ba6cef9891ba04d2c23b1d42b2a6340c..a4f6246ec236ff63617f7bd01d7f6998ca022f8f 100644
(file)
--- a/
lisp/net/tramp-sshfs.el
+++ b/
lisp/net/tramp-sshfs.el
@@
-244,8
+244,8
@@
arguments to pass to the OPERATION."
(setq result
(insert-file-contents
(tramp-fuse-local-file-name filename) visit beg end replace))
- (when visit (setq buffer-file-name filename))
-
(cons filename (cdr result)
))))
+ (when visit (setq buffer-file-name filename))
)
+
(cons filename (cdr result
))))
(defun tramp-sshfs-handle-process-file
(program &optional infile destination display &rest args)